package com.jasontools.data;

import java.util.Date;

public class ImageMessage extends SimpleMessage {
	
	public String name;
	public String avatarurl;
	public String imgurl;
	public int type;
	public String detailsurl;
	
	public ImageMessage() {
		super();
	}
	
	public ImageMessage(int id, String name, String avatarurl, String title, String content, String imgurl, Date date, String detailsurl, int type) {
		super(id, title, content, date);
		this.name = name;
		this.avatarurl = avatarurl;
		this.imgurl = imgurl;
		this.type = type;
		this.detailsurl = detailsurl;
	}
	
	//getter and setter
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return this.name;
	}
	
	public void setAvatarurl(String avatarurl) {
		this.avatarurl = avatarurl;
	}
	public String getAcatarurl() {
		return this.avatarurl;
	}
	
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getImgurl() {
		return this.imgurl;
	}
	
	public void setType(int type) {
		this.type = type;
	}
	public int getType() {
		return this.type;
	}
	
	public void setDetailsurl(String detailsurl) {
		this.detailsurl = detailsurl;
	}
	public String getDetailsurl() {
		return this.detailsurl;
	}
	
	
	
}
